# -*- coding: UTF-8 -*
#!/usr/bin/python3
import requests
import os
from hashlib import md5

def getRssPath():
    abspath = os.getcwd()  # 获取当前路径
    p = abspath.replace(abspath.split("/")[-1],"rss")
    return 

def checkCode(signKey, str, id):
    names = ['kunkun','Jack']
    newStr = md5((names[id]+signKey+'abc').encode('utf-8')).hexdigest()
    if str == newStr:
        return True
    return False